//
//  ApplicationController.h
//  WSPluginSwitcher
//
//  @author	Jens Krause [www.websector.de]
//	@date		01/01/09
//  @see		http://www.websector.de/blog/
//
//  Licensed under the MIT License http://www.opensource.org/licenses/mit-license.php
//

#import <Cocoa/Cocoa.h>
#import "ApplicationModel.h"
#import "PreferencesController.h"
#import "PlugInSwitcher.h"
#import "NSError+AlertExtensions.h"

@interface ApplicationController : NSObject <PlugInSwitcherDelegate>
{

	IBOutlet NSWindow *mainView;
	IBOutlet NSButton *b_switchFlashPlugin;	
	IBOutlet NSArrayController *archiveFlashPluginsFoldersController;
	IBOutlet NSProgressIndicator *loader;
	IBOutlet ApplicationModel *appModel;
	
	NSString *appSupportFolder;
	PreferencesController *prefController;
	PlugInSwitcher *plugInSwitcher;
	
	BOOL flashArchivePluginsFolderDefined;

}
- (IBAction)showPreferencePanel:(id)sender;
- (IBAction)switchFlashPluginHandler:(id)sender;
@end